<%@page import="com.tangdi.production.mpbase.util.MoneyUtils"%>
<%@page import="com.tangdi.production.mpbase.util.ObjectUtil"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
Map<String,Object> reqMap = (Map<String,Object>)request.getAttribute("reqMap");
Map<String,Object> resMap = (Map<String,Object>)request.getAttribute("resMap");
String custOrderNo = ObjectUtil.getString(reqMap.get("custOrderNo"));
String payAmt = ObjectUtil.getString(reqMap.get("payAmt"));

String code = ObjectUtil.getString(resMap.get("code"));
String msg = ObjectUtil.getString(resMap.get("msg"));
String message = code + ":" + msg;
try{
	payAmt = MoneyUtils.toStrYuan(payAmt);
}catch(Exception e){
	
}
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>雅付支付 | 支付失败</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" href="<%=path%>/css/cashier/style.css" type="text/css"></link>
	
  </head>
  
  <body>
  
   	<!-- top -->
	<div class="top01">
		<table width="700" align="center">
			<tr>
				<td width="70%"><img src="<%=path%>/images/logo.png" border="0"
					height="50" />
				</td>
				<td width="30%" align="right">帮助中心 | <a
					href="http://prm.yafupay.com/website/index.html" target="_blank">返回平台首页</a></td>
			</tr>
		</table>
	</div>

	<!-- center -->
	<div class="top">
		<table cellpadding="0" cellspacing="0" width="800" height="50" align="center">
	   	 <tr>
	   	 	<td height="50" colspan="2" width="76%" class="font">&nbsp;&nbsp;商户订单号： <font color="green"><%=custOrderNo %></font></td>
	   	 	<td class="font">支付金额：<font color="red" style="font-size:20px;"><%=payAmt %></font>&nbsp;元</td>
	   	 </tr>
	   	 </table>
	   	 <table cellpadding="0" cellspacing="0" width="800" height="400" align="center" style="background-color: #ffffff;">
	   	 <tr>
	   	 	<td height="400" width="400" align="right"><img src="<%=path%>/images/coin.jpg" border="0" /></td>
	   	 	<td style="font-size:18px;"><strong><%=message %></strong></td>
	   	 </tr>
	   	</table>
	  </div> 	
	   	
 	
 
	<!-- bottom -->
	<div class="bottom">
	 <table cellpadding="0" cellspacing="0" width="100%" align="center">
		<tr><td class="foot">Copyright  2014-2016 雅付网络科技有限公司 All Rights Reserved 版权所有 不得转载<br>备案号： 沪ICP备16036723号</td></tr>
    </table>
	</div>
    
    
    
  </body>
</html>
